import request from '@/utils/request'

// 查询个人填报-业务工作列表
export function listKpiFillingBusinessWork(query) {
  return request({
    url: '/teacher/kpiFillingBusinessWork/list',
    method: 'get',
    params: query
  })
}

// 查询个人填报-业务工作详细
export function getKpiFillingBusinessWork(id) {
  return request({
    url: '/teacher/kpiFillingBusinessWork/' + id,
    method: 'get'
  })
}

// 新增个人填报-业务工作
export function addKpiFillingBusinessWork(data) {
  return request({
    url: '/teacher/kpiFillingBusinessWork/add',
    method: 'post',
    data: data
  })
}

// 修改个人填报-业务工作
export function updateKpiFillingBusinessWork(data) {
  return request({
    url: '/teacher/kpiFillingBusinessWork/update',
    method: 'post',
    data: data
  })
}

// 删除个人填报-业务工作
export function delKpiFillingBusinessWork(id) {
  return request({
    url: '/teacher/kpiFillingBusinessWork/' + id,
    method: 'post'
  })
}
